package cn.turing.firecontrol.device.service;

import cn.turing.firecontrol.device.entity.Area;
import cn.turing.firecontrol.device.mapper.AreaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaServiceImpl implements AreaService {

    @Autowired
    private AreaMapper areaMapper;

    @Override
    public List<Area> selectBylngAndLat(String lng, String lat) {
        return areaMapper.selectBylngAndLat(lng,lat);
    }
}
